<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2021/4/12
  Time: 14:23
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <link href="../../static/css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
    <link href="../../static/css/font-awesome.css?v=4.4.0" rel="stylesheet">
    <title>Title</title>
    <style>
        td{
            text-align: center;
        }
        tr:not(:last-child) td:nth-child(1){
            padding-top:17px !important;
            background-color: #ced5bd;
        }

        #tab{
            margin-top: 60px;
            width: 600px;
        }
        #quanbu{
            position: absolute;
            left: 600px;
            width: 500px;
        }

        #button{
            position: absolute;
            top: 610px;
        }
        #button2{
            position: absolute;
            left: 400px;
        }
        button{
            width: 100px;
            height: 50px;
        }
        p{
            display: inline-block;
        }
    </style>
</head>
<body>
<form action="user?opr=addUser" method="post">
    <div class="ibox-content" id="quanbu">
        <div class="row">
            <div class="col-sm-12">
                <form role="form">
                    <div class="form-group">
                        <h3 style="text-align: center">增加用户信息</h3>
                        <input type="hidden" class="form-control" value="addUser" name="opr"/>
                        <h4>用户名:</h4>
                        <input type="text" placeholder="请输入您要修改的用户姓名" name="loginName" class="form-control"style="height:50px

"  >
                    </div>
                    <div class="form-group">
                        <h4>真实姓名:</h4>
                        <input type="text" placeholder="请输入真实姓名" name="userName"class="form-control" style="height: 50px">
                    </div>

                        <input type="radio"  id="sex1" value="1" checked="checked" class="custom-radio" name="sex"/><p style="font-size: 20px">男</p>
                        <input type="radio" id="sex2" value="0"  class="custom-radio" name="sex"/><p style="font-size: 20px">女</p>




                    <div class="form-group">
                        <h4>身份证号码:</h4>
                        <input type="text"  placeholder="请输入身份证号码" name="identityCode"class="form-control" style="height: 50px">
                    </div>
                    <div class="form-group">
                        <h4>电话号码:</h4>
                        <input type="text" placeholder="请输入电话号码" name="mobile"class="form-control" style="height: 50px">
                    </div>

                    <div class="form-group">
                        <h4> 请输入您要绑定的邮箱:</h4>
                        <input type="email" placeholder="请输入您要绑定的邮箱" name="Email"class="form-control" style="height: 50px">
                    </div>
                    <div class="form-group">
                        <h4>密码:</h4>
                        <input type="password" placeholder="请输入密码" name="password"class="form-control" style="height: 50px">
                    </div>

                    <div id="button">
                        <br/> <br/> <br/>
                        <button type="submit" class="btn btn-primary" onclick="update()">提交</button>
                        &nbsp; &nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

                        <button type="reset" class="btn btn-primary" id="chongzhi">重置</button>
                        <button id="button2" type="reset" class="btn btn-primary" onclick="quxiao()"  >取消</button>
                    </div>
                </form>
            </div>
        </div>
    </div>
</form><script src="../../static/js/jquery.min.js?v=2.1.4"></script>
<script src="../../static/js/bootstrap.min.js?v=3.3.6"></script>
<script>

    function quxiao(){
        location.href="user?opr=userlist";
    }


</script>
</body>
</html>
